
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon iconfont icon-ticket2"></i>
                    <div class="name">飞机</div>
                    <div class="fontclass">.icon-ticket2</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-baozhazhuangzhi"></i>
                    <div class="name">爆炸装置</div>
                    <div class="fontclass">.icon-baozhazhuangzhi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-chexiao"></i>
                    <div class="name">撤销</div>
                    <div class="fontclass">.icon-chexiao</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-clash"></i>
                    <div class="name">冲突 - 副本</div>
                    <div class="fontclass">.icon-clash</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-list"></i>
                    <div class="name">列表</div>
                    <div class="fontclass">.icon-list</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-logistics"></i>
                    <div class="name">船-物流</div>
                    <div class="fontclass">.icon-logistics</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-user"></i>
                    <div class="name">用户</div>
                    <div class="fontclass">.icon-user</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-mima"></i>
                    <div class="name">密码</div>
                    <div class="fontclass">.icon-mima</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-screen"></i>
                    <div class="name">筛选 选中</div>
                    <div class="fontclass">.icon-screen</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tanke"></i>
                    <div class="name">坦克</div>
                    <div class="fontclass">.icon-tanke</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-taishiganzhi"></i>
                    <div class="name">态势感知</div>
                    <div class="fontclass">.icon-taishiganzhi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-search"></i>
                    <div class="name">查询</div>
                    <div class="fontclass">.icon-search</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-high-routing"></i>
                    <div class="name">高端路由器</div>
                    <div class="fontclass">.icon-high-routing</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-jinangaopao"></i>
                    <div class="name">高炮</div>
                    <div class="fontclass">.icon-jinangaopao</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-excel"></i>
                    <div class="name">excel</div>
                    <div class="fontclass">.icon-excel</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-biaozhu"></i>
                    <div class="name">标注</div>
                    <div class="fontclass">.icon-biaozhu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-connection"></i>
                    <div class="name">关联</div>
                    <div class="fontclass">.icon-connection</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-state"></i>
                    <div class="name">状态</div>
                    <div class="fontclass">.icon-state</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-bi"></i>
                    <div class="name">笔</div>
                    <div class="fontclass">.icon-bi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-analyze"></i>
                    <div class="name">分析</div>
                    <div class="fontclass">.icon-analyze</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-ddcaf"></i>
                    <div class="name">账号</div>
                    <div class="fontclass">.icon-ddcaf</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-status"></i>
                    <div class="name">实时状态</div>
                    <div class="fontclass">.icon-status</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-firewall"></i>
                    <div class="name">防火墙</div>
                    <div class="fontclass">.icon-firewall</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-lists"></i>
                    <div class="name">列表</div>
                    <div class="fontclass">.icon-lists</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-hint"></i>
                    <div class="name">铃铛</div>
                    <div class="fontclass">.icon-hint</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-need"></i>
                    <div class="name">需求</div>
                    <div class="fontclass">.icon-need</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-interchanger"></i>
                    <div class="name">交换机</div>
                    <div class="fontclass">.icon-interchanger</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-situation"></i>
                    <div class="name">目标</div>
                    <div class="fontclass">.icon-situation</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-link"></i>
                    <div class="name">链接</div>
                    <div class="fontclass">.icon-link</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-timeline"></i>
                    <div class="name">意图管理</div>
                    <div class="fontclass">.icon-timeline</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-radar"></i>
                    <div class="name">雷达</div>
                    <div class="fontclass">.icon-radar</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-joint"></i>
                    <div class="name">连接</div>
                    <div class="fontclass">.icon-joint</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-lishijilu"></i>
                    <div class="name">历史记录 (1)</div>
                    <div class="fontclass">.icon-lishijilu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-taikongmanbuyi"></i>
                    <div class="name">太空漫步仪</div>
                    <div class="fontclass">.icon-taikongmanbuyi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-edit"></i>
                    <div class="name">编辑</div>
                    <div class="fontclass">.icon-edit</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-command"></i>
                    <div class="name">指挥所</div>
                    <div class="fontclass">.icon-command</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-LAN"></i>
                    <div class="name">LAN口</div>
                    <div class="fontclass">.icon-LAN</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-analysis"></i>
                    <div class="name">解析</div>
                    <div class="fontclass">.icon-analysis</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-dock"></i>
                    <div class="name"> 船坞基础信息</div>
                    <div class="fontclass">.icon-dock</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-time"></i>
                    <div class="name">时间</div>
                    <div class="fontclass">.icon-time</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-webpage"></i>
                    <div class="name">网页</div>
                    <div class="fontclass">.icon-webpage</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-batch"></i>
                    <div class="name">批量导入</div>
                    <div class="fontclass">.icon-batch</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shouqiang"></i>
                    <div class="name">手枪</div>
                    <div class="fontclass">.icon-shouqiang</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-qianting"></i>
                    <div class="name">潜艇</div>
                    <div class="fontclass">.icon-qianting</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-document"></i>
                    <div class="name">文档 </div>
                    <div class="fontclass">.icon-document</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-model"></i>
                    <div class="name">模型</div>
                    <div class="fontclass">.icon-model</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-setting"></i>
                    <div class="name">设置</div>
                    <div class="fontclass">.icon-setting</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-database"></i>
                    <div class="name">数据库</div>
                    <div class="fontclass">.icon-database</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-knowledge"></i>
                    <div class="name">知识查询</div>
                    <div class="fontclass">.icon-knowledge</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-intelligence"></i>
                    <div class="name">共享</div>
                    <div class="fontclass">.icon-intelligence</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shou"></i>
                    <div class="name">手</div>
                    <div class="fontclass">.icon-shou</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-date"></i>
                    <div class="name">日历</div>
                    <div class="fontclass">.icon-date</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-guanxiwajue"></i>
                    <div class="name">关系挖掘</div>
                    <div class="fontclass">.icon-guanxiwajue</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-port"></i>
                    <div class="name">港口码头</div>
                    <div class="fontclass">.icon-port</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-excel1"></i>
                    <div class="name">excel</div>
                    <div class="fontclass">.icon-excel1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-wendang"></i>
                    <div class="name">文档</div>
                    <div class="fontclass">.icon-wendang</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-wangye"></i>
                    <div class="name">网页</div>
                    <div class="fontclass">.icon-wangye</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shujuku"></i>
                    <div class="name">数据库</div>
                    <div class="fontclass">.icon-shujuku</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-images"></i>
                    <div class="name">图片</div>
                    <div class="fontclass">.icon-images</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-daodan"></i>
                    <div class="name">导弹</div>
                    <div class="fontclass">.icon-daodan</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-chaxun"></i>
                    <div class="name">查询</div>
                    <div class="fontclass">.icon-chaxun</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">iconfont</span> <span class="hljs-selector-tag">icon-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"iconfont"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
